<div id="header">
	<div id="logo">
		<h1>Analizer Wyników Lotto</h1>
	</div>
	<div id="login">
	    {%if request.user.is_authenticated%}
	    	<div class="m-t">
		    	Jesteś zalogowany jako: <strong class="m-r">{{request.user}}</strong>
		        <a href="{%url profile-home%}" class="button blueGradient m-l">Moje konto</a>
		        <a href="{%url auth_logout%}" class="button orangeGradient m-l">Wyloguj</a>
	        </div>
	    {%else%}
			<form method="post" action="{%url auth_login%}">
			{%csrf_token%}
				<fieldset>
					<label>Login: </label><input type="text" name="username" value="" id="username" />
					<label class="m-l">Hasło: </label> <input type="password" name="password" value="" id="password" />
					<input type="submit" class="submit blueGradient m-l" value="Zaloguj" /><input type="hidden" name="next" value="{{ next }}" />
					<a href="{% url registration_register %}" class="button orangeGradient m-l">Załóż konto</a>
				</fieldset>
			</form>
			<a href="{% url auth_password_reset %}" class="forgot">Zapomniałem hasła/loginu</a>
		{%endif%}
	</div>
</div>
